<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<%@ Register TagPrefix="TWC" Namespace="Telligent.Web.UI" Assembly="Telligent.Web.UI" %>
<%@ Page language="c#" Codebehind="PostOptions.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Forums.PostOptions" %>
<cp:controlpanelselectednavigation selectednavitem="CommonTasks" runat="server" id="SelectedNavigation1" />
<cs:mpcontainer runat="server" id="MPContainer" thememasterfile="SetupControlPanelMaster.ascx">
	<cs:mpcontent id="DescriptionRegion" runat="server"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_Title" ID="Resourcecontrol2"/></cs:mpcontent>
	<cs:mpcontent id="TaskRegion" runat="Server">
	<div class="CommonDescription">
		<CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_SubTitle" ID="Resourcecontrol3"/>
	</div>
		<CP:FileOnlyStatusMessage id="FOStatus" runat="server" visible="false"></CP:FileOnlyStatusMessage>
		<asp:PlaceHolder id="OptionHolder" runat="Server">
			<cp:statusmessage id="Status" runat="server"></cp:statusmessage>
			<DIV class="CommonDescription"></DIV>
			<TWC:TabbedPanes id="EditorTabs" runat="server"
				PanesCssClass="CommonPane"
				TabSetCssClass="CommonPaneTabSet"
				TabCssClasses="CommonPaneTab,CommonPaneTab1,CommonPaneTab2"
				TabSelectedCssClasses="CommonPaneTabSelected,CommonPaneTabSelected1,CommonPaneTabSelected2"
				TabHoverCssClasses="CommonPaneTabHover,CommonPaneTabHover1,CommonPaneTabHover2"
				>
				<TWC:TabbedPane runat="server">
					<Tab><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_PostOptions_Tab_General" /></Tab>
					<Content>
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_GeneralSettings" ID="Resourcecontrol4"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon2" runat="Server" resourcename="Admin_SiteSettings_RSS_Feeds_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_RSS_Feeds" id="ResourceControl51"
										name="ResourceControl51" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="EnableForumsRSS" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist>
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon13" runat="Server" resourcename="Admin_SiteSettings_ThreadStatus_Allow_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_ThreadStatus_Allow" id="Resourcecontrol150" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="EnableThreadStatus" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon12" runat="Server" resourcename="CP_Settings_General_EnablePostPreviewPopup_Descr"></cp:helpicon>
									<cp:resourcecontrol id="ResourceControl20" runat="server" resourcename="CP_Settings_General_EnablePostPreviewPopup"
										name="ResourceControl20"></cp:resourcecontrol></td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="EnablePostPreviewPopup" runat="server" repeatcolumns="2" cssclass="ControlPanelTextInput"></cs:yesnoradiobuttonlist></td>
							</tr>
							
				            <TR>
					            <TD class="CommonFormFieldName">
						            <cp:helpicon id="Helpicon8" runat="Server" resourcename="Admin_SiteSettings_UserAsAnon_Allow_Descr"></cp:helpicon>
						            <cp:resourcecontrol id="Resourcecontrol148" runat="server" resourcename="Admin_SiteSettings_UserAsAnon_Allow"></cp:resourcecontrol></TD>
					            <TD class="CommonFormField" noWrap>
						            <cs:yesnoradiobuttonlist id="PostAsAnonymousUser" runat="server" repeatcolumns="2" cssclass="ControlPanelTextInput"></cs:yesnoradiobuttonlist></TD>
				            </TR>		
				            
				             <TR>
					            <TD class="CommonFormFieldName">
						            <cp:helpicon id="Helpicon11" runat="Server" resourcename="Admin_SiteSettings_Tagging_Allow_Descr"></cp:helpicon>
						            <cp:resourcecontrol id="Resourcecontrol10" runat="server" resourcename="Admin_SiteSettings_Tagging_Allow"></cp:resourcecontrol></TD>
					            <TD class="CommonFormField" noWrap>
						            <cs:yesnoradiobuttonlist id="Tagging" runat="server" repeatcolumns="2" cssclass="ControlPanelTextInput"></cs:yesnoradiobuttonlist></TD>
				            </TR>							
							
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon26" runat="Server" resourcename="CP_Settings_RSS_Threads_Descr" />
									<cp:resourcecontrol runat="server" resourcename="CP_Settings_RSS_Threads" id="ResourceControl53" name="ResourceControl53" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<asp:textbox id="RSSDefaultThreadsPerFeed" runat="server" maxlength="3"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="RSSDefaultThreadsPerFeed"
										id="RSSDefaultThreadsPerFeedValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon6" runat="Server" resourcename="Admin_SiteSettings_ThreadsPerPage_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_ThreadsPerPage" id="ResourceControl16"
										name="ResourceControl16" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="ThreadsPerPage" runat="Server" maxlength="4"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="ThreadsPerPage"
										id="ThreadsPerPageValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon7" runat="Server" resourcename="Admin_SiteSettings_PostPerPage_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_PostPerPage" id="ResourceControl18"
										name="ResourceControl18" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PostsPerPage" runat="Server" maxlength="4"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PostsPerPage"
										id="PostsPerPageValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon10" runat="Server" resourcename="Admin_SiteSettings_DaysPostMarkedAsRead_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_DaysPostMarkedAsRead" id="Resourcecontrol1"
										name="ResourceControl79" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="DaysPostMarkedAsRead" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="DaysPostMarkedAsRead"
										id="DaysPostMarkedAsReadValidator" />
								</td>
							</tr>
						</table>
					</Content>
				</TWC:TabbedPane>
				<TWC:TabbedPane runat="server">
					<Tab><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_PostOptions_Tab_Editing" /></Tab>
					<Content>
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_PostEditing" ID="Resourcecontrol5"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon9" runat="Server" resourcename="Admin_SiteSettings_Posting_RequireEditNotes_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_RequireEditNotes" id="Resourcecontrol41" />
								</td>
								<td class="CommonFormField">
									<cs:yesnoradiobuttonlist id="RequireEditNotes" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon22" runat="Server" resourcename="Admin_SiteSettings_Editing_Notes_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Editing_Notes" id="Resourcecontrol97"
										name="ResourceControl93" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="DisplayEditNotes" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon23" runat="Server" resourcename="Admin_SiteSettings_Editing_Age_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Editing_Age" id="Resourcecontrol99"
										name="ResourceControl95" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PostEditBodyAgeInMinutes" runat="server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PostEditBodyAgeInMinutes"
										id="PostEditBodyAgeInMinutesValidator" />
								</td>
							</tr>
						</table>
					</Content>
				</TWC:TabbedPane>
				<TWC:TabbedPane runat="server">
					<Tab><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_PostOptions_Tab_Attachments" /></Tab>
					<Content>
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_PostAttachments" ID="Resourcecontrol6"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon15" runat="Server" resourcename="Admin_SiteSettings_Attachments_Allow_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_Allow" id="ResourceControl86"
										name="ResourceControl86" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="EnableAttachments" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon17" runat="Server" resourcename="Admin_SiteSettings_Attachments_Types_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_Types" id="ResourceControl88"
										name="ResourceControl88" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="AllowedAttachmentTypes" runat="server"></asp:textbox></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon18" runat="Server" resourcename="Admin_SiteSettings_Attachments_MaxSize_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_MaxSize" id="ResourceControl90"
										name="ResourceControl90" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="MaxAttachmentSize" runat="server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="MaxAttachmentSize"
										id="MaxAttachmentSizeValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon19" runat="Server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages"
										id="Resourcecontrol59" />
								</td>
								<td class="CommonFormField">
									<cs:yesnoradiobuttonlist id="EnableInlinedImages" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist>
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon20" runat="Server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_MaxSize_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_MaxSize"
										id="Resourcecontrol85" />
								</td>
								<td class="CommonFormField">
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_Width"
										id="Resourcecontrol93" />
									<asp:textbox id="InlinedImageWidth" runat="server" maxlength="4" columns="4" />
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="InlinedImageWidth"
										id="InlinedImageWidthValidator" />
									&nbsp;
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_Height"
										id="Resourcecontrol94" />
									<asp:textbox id="InlinedImageHeight" runat="server" maxlength="4" columns="4" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon21" runat="Server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_ImageTypes_Desc" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Attachments_EnableInlinedImages_ImageTypes"
										id="Resourcecontrol95" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="SupportedInlinedImageTypes" runat="server" columns="55"></asp:textbox></td>
							</tr>
						</table>
					</Content>
				</TWC:TabbedPane>
				<TWC:TabbedPane runat="server">
					<Tab><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_PostOptions_Tab_DuplicateFlooding" /></Tab>
					<Content>
					<div class="CommonGroupedContentArea">
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_DuplicatePosts" ID="Resourcecontrol7"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon16" runat="Server" resourcename="Admin_SiteSettings_Posting_Dups_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_Dups" id="ResourceControl69"
										name="ResourceControl69" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="AllowDuplicatePosts" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon1" runat="Server" resourcename="Admin_SiteSettings_Posting_DupsInterval_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_DupsInterval" id="ResourceControl71"
										name="ResourceControl71" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<asp:textbox id="DuplicatePostIntervalInMinutes" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="DuplicatePostIntervalInMinutes"
										id="DuplicatePostIntervalInMinutesValidator" />
								</td>
							</tr>
						</table>
					</div>
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_PostFlooding" ID="Resourcecontrol8"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon24" runat="Server" resourcename="Admin_SiteSettings_Flooding_Check_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Flooding_Check" id="Resourcecontrol101"
										name="ResourceControl98" />
								</td>
								<td class="CommonFormField" nowrap="true">
									<cs:yesnoradiobuttonlist id="EnableFloodInterval" runat="server" cssclass="ControlPanelTextInput" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon25" runat="Server" resourcename="Admin_SiteSettings_Flooding_Time_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Flooding_Time" id="Resourcecontrol103"
										name="ResourceControl100" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PostInterval" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PostInterval"
										id="PostIntervalValidator" />
								</td>
							</tr>
						</table>
					</Content>
				</TWC:TabbedPane>
				<TWC:TabbedPane runat="server">
					<Tab><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_PostOptions_Tab_PopularPosts" /></Tab>
					<Content>
						<h3 class="CommonSubTitle"><CP:ResourceControl runat="Server" resourcename="CP_ForumsAdmin_PostOptions_PopularCriteria" ID="Resourcecontrol9"/></h3>
						<table border="0" cellspacing="0" cellpadding="2">
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon3" runat="Server" resourcename="Admin_SiteSettings_Posting_Popular_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_Popular" id="ResourceControl75"
										name="ResourceControl75" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PopularPostThresholdPosts" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PopularPostThresholdPosts"
										id="PopularPostThresholdPostsValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon4" runat="Server" resourcename="Admin_SiteSettings_Posting_Popular_View_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_Popular_View" id="ResourceControl77"
										name="ResourceControl77" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PopularPostThresholdViews" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PopularPostThresholdViews"
										id="PopularPostThresholdViewsValidator" />
								</td>
							</tr>
							<tr>
								<td class="CommonFormFieldName">
									<cp:helpicon id="Helpicon5" runat="Server" resourcename="Admin_SiteSettings_Posting_Popular_Age_Descr" />
									<cs:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Posting_Popular_Age" id="ResourceControl79"
										name="ResourceControl79" />
								</td>
								<td class="CommonFormField">
									<asp:textbox id="PopularPostThresholdDays" runat="Server"></asp:textbox>
									<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PopularPostThresholdDays"
										id="PopularPostThresholdDaysValidator" />
								</td>
							</tr>
						</table>
					</Content>
				</TWC:TabbedPane>
			</TWC:TabbedPanes>
			<p class="PanelSaveButton DetailsFixedWidth">
				<cp:ResourceLinkButton id="SaveButton" runat="server" cssclass="CommonTextButton" resourcename="Save"></cp:ResourceLinkButton></p>
		</asp:PlaceHolder>
	</cs:mpcontent>
</cs:mpcontainer>
